package com.hutao.manage.util;

import java.util.Date;

public class CustomerLogUtil {
	/**
	 * 病案发行由于并发删除数据库多余的组
	 */
	public synchronized static void writeLogDeleteMre(String errorInfo) {
		try {
			String dateStrDir = DateUtil.dateFormat("yyyy-MM-dd", new Date());
			String logPath = "c:/log/deleteMre/" + dateStrDir + "/";
			FileUtil.createFloder(logPath);
			String logDateStr = DateUtil.dateFormat("yyyy-MM-dd HH:mm:ss", new Date());
			FileUtil.appendInfoToFile(logPath + "deleteMre.txt", logDateStr + ":  "+ errorInfo);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	
	
	

}
